﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="weightMisInfo.aspx.cs" Inherits="pro_mis_weightMisInfo" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>评权专家：任务信息</title>
    <link href="../../css/main.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
     <div>
    
        <div id="content">
            <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
                ConnectionString="<%$ ConnectionStrings:appConnectionString %>" 
                
                
                
                
                SelectCommand="SELECT project.projectname, weightmission.weightmissionid, weightmission.weightmissionname, weightmission.weightmissiontype, weightmission.actor, weightmission.projectid, weightmission.state, weightmission.description, project.weighttype FROM project INNER JOIN weightmission ON project.projectid = weightmission.projectid WHERE (weightmission.weightmissionid = @weightmissionid) AND (project.weighttype &lt;&gt; '直接赋权')">
                <SelectParameters>
                    <asp:QueryStringParameter Name="weightmissionid" 
                        QueryStringField="weightmissionid" />
                </SelectParameters>
            </asp:SqlDataSource>
            <asp:DetailsView ID="DetailsView1" runat="server" AutoGenerateRows="False" 
                BackColor="White" BorderColor="#E7E7FF" BorderStyle="None" BorderWidth="1px" 
                CellPadding="3" DataSourceID="SqlDataSource1" GridLines="Horizontal" 
                Width="100%">
                <FooterStyle BackColor="#B5C7DE" ForeColor="#4A3C8C" />
                <RowStyle BackColor="#E7E7FF" ForeColor="#4A3C8C" />
                <PagerStyle BackColor="#E7E7FF" ForeColor="#4A3C8C" HorizontalAlign="Right" />
                <Fields>
                    <asp:BoundField DataField="projectname" HeaderText="项&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;目：" 
                        SortExpression="projectname">
                        <HeaderStyle HorizontalAlign="Right" Width="100px" />
                    </asp:BoundField>
                    <asp:BoundField DataField="weighttype" HeaderText="任务类型：" 
                        SortExpression="weighttype">
                        <HeaderStyle HorizontalAlign="Right" Width="100px" />
                    </asp:BoundField>
                    <asp:BoundField DataField="actor" HeaderText="执&nbsp;&nbsp;行&nbsp;&nbsp;者：" SortExpression="actor">
                        <HeaderStyle HorizontalAlign="Right" Width="100px" />
                    </asp:BoundField>
                    <asp:BoundField DataField="state" HeaderText="状&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;态：" SortExpression="state">
                        <HeaderStyle HorizontalAlign="Right" Width="100px" />
                    </asp:BoundField>
                </Fields>
                <HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#F7F7F7" />
                <EditRowStyle BackColor="#738A9C" Font-Bold="True" ForeColor="#F7F7F7" />
                <AlternatingRowStyle BackColor="#F7F7F7" />
            </asp:DetailsView>
        </div>
    
    </div>
    <div style="text-align: center">
        <asp:Button ID="Button1" runat="server" 
           Text="接受任务>>" onclick="Button1_Click" CssClass="bacimg1" />
    </div>
    <div style="color: #FF3300">
        *注意1：只有接受了的任务才能对权重任务进行评权。<br />
        *注意2：直接赋权的任务不能接受。</div>
    </form>
</body>
</html>
